﻿using System;
using System.Collections.Generic;
using System.Text;

namespace UI.Lib
{
    public class ProcessHelper
    {
        private static ProcessHelper _entity;

        public static ProcessHelper Entity
        {
            get
            {
                if (null == _entity)
                    _entity = new ProcessHelper();
                return _entity;
            }
        }

        public string GetPid()
        {
            return System.Diagnostics.Process.GetCurrentProcess().Id.ToString();
        }
    }
}
